import {
  Toast,
  Notify,
  Button,
  Form,
  Field,
  CellGroup,
  List,
  Cell,
  Search,
  PullRefresh,
  DropdownMenu,
  DropdownItem,
  Empty,
  Dialog,
  Tag,
  Divider
} from 'vant'

Toast.allowMultiple()
Toast.setDefaultOptions({ duration: 1500 })
Toast.setDefaultOptions('loading', { forbidClick: true, duration: 0 })

Notify.setDefaultOptions({ type: 'success', duration: 1500 })

export default [
  Toast,
  Notify,
  Button,
  Form,
  Field,
  CellGroup,
  List,
  Cell,
  Search,
  PullRefresh,
  DropdownMenu,
  DropdownItem,
  Empty,
  Dialog,
  Tag,
  Divider
]
